package com.github.catvod.spider;

import android.content.Context;
import android.text.TextUtils;
import android.util.Base64;
import com.github.catvod.crawler.Spider;
import com.github.catvod.crawler.SpiderDebug;
import com.github.catvod.parser.C0000;
import com.github.catvod.parser.C0001;
import com.github.catvod.parser.C0003;
import com.github.catvod.parser.C0004;
import com.github.catvod.parser.C0005;
import com.github.catvod.parser.C0006;
import com.github.catvod.parser.C0007;
import com.github.catvod.parser.C0009;
import com.github.catvod.spider.merge.C0011;
import com.github.catvod.spider.merge.C0012;
import com.github.catvod.spider.merge.C0013;
import com.github.catvod.spider.merge.C0014;
import com.github.catvod.spider.merge.C0015;
import com.github.catvod.spider.merge.Dv;
import com.github.catvod.spider.merge.HZ;
import com.github.catvod.spider.merge.Lm;
import com.github.catvod.spider.merge.fP;
import com.github.catvod.spider.merge.lk;
import java.net.URLEncoder;
import java.util.Iterator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

/* loaded from: classes.dex */
public class Lib extends Spider {

    /* renamed from: short, reason: not valid java name */
    private static final short[] f40short = {2517, 2446, 2435, 2442, 2463, 2517, 2514, 2470, 2462, 2513, 2515, 2516, 2450, 2446, 2455, 2454, 2047, 1972, 1973, 1956, 1969, 1977, 1980, 2047, 2040, 1932, 1972, 2043, 2041, 2046, 1976, 1956, 1981, 1980, 2999, 3048, 3060, 3065, 3041, 2999, 2992, 3012, 3068, 2995, 2993, 2997, 2992, 3012, 3068, 2995, 2993, 2997, 2992, 3012, 3068, 2995, 2993, 2998, 3056, 3052, 3061, 3060, 691, 751, 756, 755, 747, 691, 692, 704, 719, 695, 693, 690, 756, 744, 753, 752, 315, 279, 277, 294, 282, 279, 271, 275, 260, 309, 281, 280, 272, 287, 273, 344, 262, 282, 279, 271, 275, 260, 297, 282, 287, 261, 258, 331, 350, 298, 269, 344, 348, 298, 267, 351, 298, 346, 315, 279, 277, 294, 282, 279, 271, 275, 260, 309, 281, 280, 272, 287, 273, 344, 274, 281, 257, 280, 275, 260, 297, 282, 287, 261, 258, 331, 474, 397, 394, 404, 474, 450, 472, 466, 474, 464, 419, 422, 474, 421, 466, 465, 474, 468, 1637, 1587, 1576, 1580, 1570, 1577, 1637, 1661, 1639, 1645, 1637, 1647, 1564, 1561, 1637, 1562, 1645, 1646, 1637, 676, 752, 749, 739, 767, 676, 700, 678, 684, 676, 686, 733, 728, 676, 731, 684, 687, 676, 682, 3320, 3321, 3304, 3254, 3241, 3233, 3235, 3280, 3285, 3241, 3286, 3233, 3234, 3244, 3287, 3232, 3270, 3306, 3304, 3291, 3303, 3306, 3314, 3310, 3321, 3237, 3291, 3303, 3306, 3314, 3294, 3321, 3303, 439, 401, 391, 400, 463, 419, 389, 391, 396, 406, 1039, 1069, 1080, 1067, 1070, 1070, 1059, 1133, 1143, 1132, 1138, 1122, 1130, 1045, 1067, 1068, 1062, 1069, 1077, 1073, 1122, 1036, 1046, 1122, 1139, 1138, 1132, 1138, 1145, 1122, 1045, 1067, 1068, 1140, 1142, 1145, 1122, 1082, 1140, 1142, 1131, 1122, 1027, 1074, 1074, 1070, 1063, 1045, 1063, 1056, 1033, 1067, 1078, 1133, 1143, 1137, 1141, 1132, 1137, 1140, 1122, 1130, 1033, 1034, 1046, 1039, 1038, 1134, 1122, 1070, 1067, 1065, 1063, 1122, 1029, 1063, 1057, 1065, 1069, 1131, 1122, 1025, 1066, 1072, 1069, 1071, 1063, 1133, 1139, 1138, 1136, 1132, 1138, 1132, 1143, 1138, 1138, 1143, 1132, 1140, 1136, 1122, 1041, 1059, 1060, 1059, 1072, 1067, 1133, 1143, 1137, 1141, 1132, 1137, 1140, 3014, 1991, 2011, 2011, 2015, 2012, 1941, 1920, 1920, 2008, 2008, 2008, 1921, 1987, 1990, 1997, 2009, 1990, 1984, 1921, 1996, 1996, 1920, 2012, 1991, 1984, 2008, 1920, 3058, 2996, 2984, 2993, 2992, 2954, 2963, 3025, 2956, 2955, 2954, 2966, 3026, 2959, 2974, 2968, 2970, 2976, 2976, 2966, 2955, 2970, 2962, 3039, 2963, 2966, 795, 769, 790, 789, 430, 598, 596, 579, 606, 577, 594, 22137, -28110, 26164, 28060, 26859, 22693, 27197, 27238, -31980, 31761, 29766, 27913, 24179, 2003, 2014, 1985, 1945, 1988, 1987, 1986, 2014, 1946, 1985, 2008, 2003, 2011, 2014, 1988, 1987, 2024, 2024, 2005, 2008, 1999, 900, 921, 900, 924, 917, 964, 961, 980, 961, 909, 975, 978, 969, 967, 969, 974, 961, 972, 620, 557, 547, 637, 612, 622, 544, 633, 616, 629, 633, 2829, 2836, 2847, 2852, 2834, 2847, 1745, 1736, 1731, 1784, 1737, 1734, 1738, 1730, 1261, 1268, 1279, 1220, 1259, 1266, 1272, 2140, 2117, 2126, 2165, 2136, 2127, 2119, 2123, 2136, 2113, 2137, 2050, 2067, 2069, 2071, 1210, 1195, 1197, 1199, 1193, 1189, 1215, 1188, 1214, 1388, 1385, 1389, 1385, 1396, 1418, 1425, 1418, 1439, 1426, 550, 547, 569, 574, 2289, 3034, 3034, 3034, 2572, 2576, 2576, 2580, 2583, 2654, 2635, 2635, 2579, 2579, 2579, 2634, 2568, 2573, 2566, 2578, 2573, 2571, 2634, 2567, 2567, 2635, 2635, 2560, 2561, 2576, 2565, 2573, 2568, 2635, 1938, 2004, 1992, 2001, 2000, 2560, 2573, 2578, 2634, 2583, 2576, 2577, 2573, 2633, 2567, 2571, 2570, 2576, 2561, 2570, 2576, 2619, 2619, 2576, 2572, 2577, 2569, 2566, 2628, 2565, 2628, 2573, 2569, 2563, 1232, 1237, 1216, 1237, 1177, 1243, 1222, 1245, 1235, 1245, 1242, 1237, 1240, 959, 946, 941, 1013, 936, 943, 942, 946, 1014, 952, 948, 949, 943, 958, 949, 943, 900, 900, 959, 958, 943, 954, 946, 951, 1019, 947, 1002, 2506, 2452, 2526, 2523, 2510, 2523, 31438, 20798, -1617, 1693, 1769, 1766, 1694, 1692, 20786, 21816, -1768, 1578, 1630, 1617, 1577, 1579, 23675, 19698, -747, 551, 595, 604, 548, 550, 25273, 25085, -1193, 1125, 1041, 1054, 1126, 1124, 18258, 26237, -2445, 2369, 2357, 2362, 2370, 2368, 23924, 27036, -1646, 1696, 1748, 1755, 1699, 1697, 1465, 1466, 1451, 1444, 1508, 1454, 1455, 1470, 1451, 1443, 1446, 1511, 1449, 1445, 1444, 1470, 1455, 1444, 1470, 1546, 1555, 1560, 1571, 1557, 1560, 1488, 1481, 1474, 1529, 1480, 1479, 1483, 1475, 2696, 2705, 2714, 2721, 2702, 2711, 2717, 1371, 1366, 1375, 1354, 1392, 1345, 1358, 1346, 1354, 1590, 1583, 1572, 1567, 1593, 1573, 1569, 1586, 1657, 1632, 1643, 1616, 1646, 1661, 1642, 1646, 1869, 1876, 1887, 1892, 1865, 1886, 1878, 1882, 1865, 1872, 1864, 1996, 2005, 2014, 2021, 2011, 2009, 1998, 2005, 1992, 935, 958, 949, 910, 949, 952, 931, 948, 946, 933, 958, 931, 455, 478, 469, 494, 466, 478, 479, 453, 468, 479, 453, 988, 977, 974, 918, 971, 972, 973, 977, 917, 974, 983, 988, 980, 977, 971, 972, 999, 999, 976, 989, 985, 988, 920, 976, 907, 2223, 2230, 2292, 2217, 2222, 2223, 2227, 2295, 2233, 2229, 2228, 2222, 2239, 2228, 2222, 2181, 2181, 2218, 2230, 2235, 2211, 2230, 2227, 2217, 2222, 20992, 23155, 668, 647, 640, 664, 394, 399, 454, 391, 2545, 2539, 2556, 2559, 2117, 2708, 602, 579, 584, 627, 604, 576, 589, 597, 627, 586, 606, 579, 577, 1177, 1152, 1163, 1200, 1183, 1155, 1166, 1174, 1200, 1178, 1181, 1155, 1718, 1715, 1705, 1710, 1591, 1579, 1579, 1583, 1580, 1637, 1648, 1648, 1576, 1576, 1576, 1649, 1587, 1590, 1597, 1577, 1590, 1584, 1649, 1596, 1596, 1648, 871, 1700, 1725, 1791, 1698, 1701, 1700, 1720, 1788, 1721, 1716, 1712, 1717, 1716, 1699, 1678, 1678, 1724, 1716, 1727, 1700, 1777, 1725, 1720, 1777, 1712, 1241, 1219, 1236, 1239, 29475, 22887, 22250, -28085, 21556, 27063, 28542, -25230, 22780, 28300, 31269, 22476, 976, 989, 980, 961, 1019, 973, 960, 2072, 2069, 2076, 2057, 2099, 2050, 2061, 2049, 2057, 1047, 1048, 1053, 1029, 1044, 1027, 1026, 2731, 2724, 2729, 
    2747, 2747, 1678, 1687, 1749, 1672, 1679, 1678, 1682, 1750, 1677, 1684, 1695, 1687, 1682, 1672, 1679, 1503, 1490, 1485, 1429, 1480, 1487, 1486, 1490, 1430, 1485, 1492, 1503, 1495, 1490, 1480, 1487, 1508, 1508, 1497, 1492, 1475, 2580, 2569, 2580, 2572, 2565, 2327, 2322, 2311, 2322, 2398, 2332, 2305, 2330, 2324, 2330, 2333, 2322, 2335, 2886, 2823, 2825, 2903, 2894, 2884, 2826, 2899, 2882, 2911, 2899, 3071, 3046, 3053, 3030, 3040, 3053, 1963, 1970, 1977, 1922, 1971, 1980, 1968, 1976, 935, 958, 949, 910, 929, 952, 946, 2596, 2621, 2614, 2573, 2592, 2615, 2623, 2611, 2592, 2617, 2593, 2694, 2691, 2713, 2718, 2203, 2195, 2178, 2206, 2201, 2194, 2134, 2132, 2117, 1136, 1109, 1090, 1111, 1092, 1089, 1088, 1032, 1132, 1099, 1110, 1088, 1094, 1104, 1111, 1088, 1032, 1143, 1088, 1108, 1104, 1088, 1110, 1105, 1110, 1862, 1429, 1439, 1413, 1334, 1313, 1314, 1313, 1334, 1313, 1334, 1724, 1696, 1696, 1700, 1703, 1774, 1787, 1787, 1699, 1699, 1699, 1786, 1720, 1725, 1718, 1698, 1725, 1723, 1786, 1719, 1719, 1787, 2609, 2583, 2561, 2582, 2633, 2597, 2563, 2561, 2570, 2576, 2956, 2990, 3003, 2984, 2989, 2989, 2976, 3054, 3060, 3055, 3057, 3041, 3049, 2956, 2976, 2978, 2984, 2991, 2997, 2990, 2994, 2985, 3066, 3041, 2952, 2991, 2997, 2980, 2989, 3041, 2956, 2976, 2978, 3041, 2958, 2962, 3041, 2969, 3041, 3056, 3057, 2974, 3056, 3060, 2974, 3062, 3048, 3041, 2944, 2993, 2993, 2989, 2980, 2966, 2980, 2979, 2954, 2984, 2997, 3054, 3060, 3058, 3062, 3055, 3058, 3063, 3041, 3049, 2954, 2953, 2965, 2956, 2957, 3053, 3041, 2989, 2984, 2986, 2980, 3041, 2950, 2980, 2978, 2986, 2990, 3048, 3041, 2946, 2985, 2995, 2990, 2988, 2980, 3054, 3064, 3056, 3055, 3057, 3055, 3061, 3061, 3062, 3059, 3055, 3056, 3056, 3061, 3041, 2962, 2976, 2983, 2976, 2995, 2984, 3054, 3060, 3058, 3062, 3055, 3058, 3063, 916, 950, 950, 944, 933, 929, 670, 655, 658, 670, 709, 642, 670, 647, 646, 710, 651, 666, 666, 646, 643, 649, 651, 670, 643, 645, 644, 709, 658, 642, 670, 647, 646, 705, 658, 647, 646, 710, 651, 666, 666, 646, 643, 649, 651, 670, 643, 645, 644, 709, 658, 647, 646, 721, 667, 727, 730, 708, 723, 710, 643, 647, 651, 653, 655, 709, 651, 668, 643, 652, 710, 643, 647, 651, 653, 655, 709, 669, 655, 648, 666, 710, 643, 647, 651, 653, 655, 709, 651, 666, 644, 653, 710, 704, 709, 704, 721, 667, 727, 730, 708, 722, 710, 651, 666, 666, 646, 643, 649, 651, 670, 643, 645, 644, 709, 665, 643, 653, 644, 655, 654, 711, 655, 658, 649, 642, 651, 644, 653, 655, 721, 668, 727, 648, 729, 721, 667, 727, 730, 708, 723, 2358, 2324, 2324, 2322, 2311, 2307, 2394, 2363, 2326, 2329, 2320, 2306, 2326, 2320, 2322, 3104, 3122, 3191, 3097, 3092, 3190, 3104, 3122, 3169, 3115, 3175, 3178, 3188, 3170, 3190, 3104, 3122, 3191, 3086, 3085, 3169, 3115, 3175, 3178, 3188, 3181, 3190, 3104, 3122, 3191, 3090, 3089, 3169, 3115, 3175, 3178, 3188, 3183, 3190, 3135, 3124, 3191, 3087, 3081, 3169, 3115, 3175, 3178, 3188, 3177, 3190, 3135, 3124, 3169, 3115, 3175, 3178, 3188, 3176, 3044, 3056, 3053, 3055, 2763, 2797, 2811, 2796, 2739, 2783, 2809, 2811, 2800, 2794, 2304, 2413, 2383, 2394, 2377, 2380, 2380, 2369, 2319, 2325, 2318, 2320, 2304, 2312, 2413, 2369, 2371, 2377, 2382, 2388, 2383, 2387, 2376, 2331, 2304, 2409, 2382, 2388, 2373, 2380, 2304, 2413, 2369, 2371, 2304, 2415, 2419, 2304, 2424, 2304, 2321, 2320, 2431, 2321, 2325, 2431, 2327, 2313, 2304, 2401, 2384, 2384, 2380, 2373, 2423, 2373, 2370, 2411, 2377, 2388, 2319, 2325, 2323, 2327, 2318, 2323, 2326, 2304, 2312, 2411, 2408, 2420, 2413, 2412, 2316, 2304, 2380, 2377, 2379, 2373, 2304, 2407, 2373, 2371, 2379, 2383, 2313, 2304, 2403, 2376, 2386, 2383, 2381, 2373, 2319, 2329, 2321, 2318, 2320, 2318, 2324, 2324, 2327, 2322, 2318, 2321, 2321, 2324, 2304, 2419, 2369, 2374, 2369, 2386, 2377, 2319, 2325, 2323, 2327, 2318, 2323, 2326, 1566, 1596, 1596, 1594, 1583, 1579, 1935, 1925, 1920, 1925, 585, 619, 619, 621, 632, 636, 549, 580, 617, 614, 623, 637, 617, 623, 621, 1817, 1859, 1873, 1812, 1914, 1911, 1813, 1859, 1873, 1794, 1864, 1796, 1801, 1815, 1792, 1813, 1884, 1879, 1812, 1900, 1898, 1794, 1864, 1796, 1801, 1815, 1793, 1813, 1884, 1879, 1794, 1864, 1796, 1801, 1815, 1806, 2111, 2077, 2077, 2075, 2062, 2058, 2131, 2107, 2064, 2077, 2065, 2074, 2071, 2064, 2073, 2923, 2850, 2863, 2862, 2853, 2879, 2850, 2879, 2866, 2928, 2874, 2934, 2938, 2919, 2923, 2913, 2928, 2874, 2934, 2939, 1278, 1224, 1230, 1152, 1259, 1224, 1241, 1230, 1221, 1152, 1257, 1224, 1246, 1241, 425, 511, 480, 493, 492, 486, 3314, 3268, 3266, 3212, 3303, 3268, 3285, 3266, 3273, 3212, 3308, 3278, 3269, 3268, 861, 787, 786, 848, 798, 786, 783, 782, 1858, 1908, 1906, 1852, 1879, 1908, 1893, 1906, 1913, 1852, 1858, 1912, 1893, 1908, 361, 298, 315, 294, 314, 314, 356, 314, 288, 317, 300, 2659, 2687, 2687, 2683, 2680, 2609, 2596, 2596, 2684, 2684, 2684, 2597, 2663, 2658, 2665, 2685, 2658, 2660, 2597, 2664, 2664, 2596, 2596, 2683, 2663, 2666, 2674, 2596, 1863, 1793, 1821, 1796, 1797, 2689, 2705, 2688, 2715, 2690, 2694, 1604, 1619, 1600, 1554, 1602, 1630, 1619, 1611, 1623, 1600, 1645, 2453, 2441, 2441, 2445, 2446, 2503, 2514, 2514, 2442, 2442, 2442, 2515, 2449, 2452, 2463, 2443, 2452, 2450, 2515, 2462, 2462, 2514, 2514, 2446, 2441, 2460, 2441, 2452, 2462, 2514, 2445, 2449, 2460, 2436, 2456, 2447, 2514, 2297, 2237, 2212, 1211, 1191, 1191, 1187, 1811, 1812, 1802, 3093, 3081, 3081, 3085, 3086, 3143, 3154, 3154, 3082, 3082, 3082, 3155, 3089, 3092, 3103, 3083, 3092, 3090, 3155, 3102, 3102, 3154, 2509, 1915, 1910, 1917, 1888, 1831, 1898, 1914, 1899, 1904, 1897, 1901, 2044, 2027, 2040, 1962, 2044, 2019, 2030, 1962, 1975, 1962, 1965, 1954, 1956, 1952, 1955, 1965, 1969, 3154, 3092, 3089, 3076, 3089, 3154, 3146, 3115, 3159, 3154, 3117, 3160, 3115, 3118, 3159, 3154, 3117, 3163, 3161, 3115, 3159, 3154, 3117, 3083, 3078, 3074, 3079, 3078, 3089, 510, 438, 426, 426, 430, 429, 484, 497, 
    497, 425, 425, 425, 496, 434, 439, 444, 424, 439, 433, 496, 445, 445, 497, 2206, 2217, 2218, 2217, 2238, 2217, 2238, 2770, 2775, 2780, 2760, 2775, 2769, 2096, 2092, 2081, 2105, 2069, 2098, 2092, 1298, 1283, 1296, 1297, 1287, 2454, 2462, 2447, 2451, 2452, 2463, 2749, 2751, 2734, 281, 316, 299, 318, 301, 296, 297, 353, 261, 290, 319, 297, 303, 313, 318, 297, 353, 286, 297, 317, 313, 297, 319, 312, 319, 2113, 3038, 3028, 3022, 3112, 3086, 3096, 3087, 3152, 3132, 3098, 3096, 3091, 3081, 2223, 2189, 2200, 2187, 2190, 2190, 2179, 2253, 2263, 2252, 2258, 2242, 2250, 2223, 2179, 2177, 2187, 2188, 2198, 2189, 2193, 2186, 2265, 2242, 2219, 2188, 2198, 2183, 2190, 2242, 2223, 2179, 2177, 2242, 2221, 2225, 2242, 2234, 2242, 2259, 2258, 2237, 2259, 2263, 2237, 2261, 2251, 2242, 2211, 2194, 2194, 2190, 2183, 2229, 2183, 2176, 2217, 2187, 2198, 2253, 2263, 2257, 2261, 2252, 2257, 2260, 2242, 2250, 2217, 2218, 2230, 2223, 2222, 2254, 2242, 2190, 2187, 2185, 2183, 2242, 2213, 2183, 2177, 2185, 2189, 2251, 2242, 2209, 2186, 2192, 2189, 2191, 2183, 2253, 2267, 2259, 2252, 2258, 2252, 2262, 2262, 2261, 2256, 2252, 2259, 2259, 2262, 2242, 2225, 2179, 2180, 2179, 2192, 2187, 2253, 2263, 2257, 2261, 2252, 2257, 2260, 2882, 2912, 2912, 2918, 2931, 2935, 2285, 2300, 2273, 2285, 2230, 2289, 2285, 2292, 2293, 2229, 2296, 2281, 2281, 2293, 2288, 2298, 2296, 2285, 2288, 2294, 2295, 2230, 2273, 2289, 2285, 2292, 2293, 2226, 2273, 2292, 2293, 2229, 2296, 2281, 2281, 2293, 2288, 2298, 2296, 2285, 2288, 2294, 2295, 2230, 2273, 2292, 2293, 2210, 2280, 2212, 2217, 2231, 2208, 2229, 2288, 2292, 2296, 2302, 2300, 2230, 2296, 2287, 2288, 2303, 2229, 2288, 2292, 2296, 2302, 2300, 2230, 2286, 2300, 2299, 2281, 2229, 2288, 2292, 2296, 2302, 2300, 2230, 2296, 2281, 2295, 2302, 2229, 2227, 2230, 2227, 2210, 2280, 2212, 2217, 2231, 2209, 2229, 2296, 2281, 2281, 2293, 2288, 2298, 2296, 2285, 2288, 2294, 2295, 2230, 2282, 2288, 2302, 2295, 2300, 2301, 2228, 2300, 2273, 2298, 2289, 2296, 2295, 2302, 2300, 2210, 2287, 2212, 2299, 2218, 2210, 2280, 2212, 2217, 2231, 2208, 974, 1004, 1004, 1002, 1023, 1019, 930, 963, 1006, 993, 1000, 1018, 1006, 1000, 1002, 2984, 3002, 3071, 2961, 2972, 3070, 2984, 3002, 3049, 2979, 3055, 3042, 3068, 3050, 3070, 2984, 3002, 3071, 2950, 2949, 3049, 2979, 3055, 3042, 3068, 3045, 3070, 2984, 3002, 3071, 2970, 2969, 3049, 2979, 3055, 3042, 3068, 3047, 3070, 2999, 3004, 3071, 2951, 2945, 3049, 2979, 3055, 3042, 3068, 3041, 3070, 2999, 3004, 3049, 2979, 3055, 3042, 3068, 3040, 1057, 1078, 1077, 1078, 1057, 1078, 1057, 2446, 2450, 2450, 2454, 2453, 2524, 2505, 2505, 2449, 2449, 2449, 2504, 2442, 2447, 2436, 2448, 2447, 2441, 2504, 2437, 2437, 2505, 578, 606, 606, 602, 601, 528, 517, 517, 605, 605, 605, 516, 582, 579, 584, 604, 579, 581, 516, 585, 585, 517, 517, 579, 580, 590, 591, 594, 516, 602, 578, 602, 517, 587, 576, 587, 594, 517, 601, 607, 589, 589, 591, 601, 606, 533, 583, 579, 590, 535, 539, 524, 605, 590, 535, 611, 553, 556, 552, 556, 561, 632, 628, 629, 611, 561, 556, 552, 544, 566, 561, 548, 552, 565, 632, 1255, 1276, 1255, 1266, 1279, 2111, 2106, 2080, 2087, 2719, 2706, 654, 641, 653, 645, 781, 788, 798, 1084, 1056, 1056, 1060, 2357, 2345, 2345, 2349, 2350, 2407, 2418, 2418, 2346, 2346, 2346, 2419, 2353, 2356, 2367, 2347, 2356, 2354, 2419, 2366, 2366, 2418, 779, 786, 793, 802, 788, 793, 876, 885, 894, 837, 884, 891, 887, 895, 1481, 1488, 1499, 1504, 1487, 1494, 1500, 2931, 2922, 2913, 2906, 2935, 2912, 2920, 2916, 2935, 2926, 2934};
    private JSONObject V0;
    private JSONObject h;
    private Pattern j = Pattern.compile(C0000.m1(f40short, 0, 16, 2554));
    private Pattern q = Pattern.compile(C0007.m26(f40short, 16, 18, 2000));
    private Pattern I = Pattern.compile(C0007.m26(f40short, 34, 28, 2968));
    private Pattern oC = Pattern.compile(C0015.m47(f40short, 62, 16, 668));
    private Pattern BQ = Pattern.compile(C0013.m41(f40short, 78, 66, 374));
    protected String W = null;
    private final Pattern u = Pattern.compile(C0007.m26(f40short, 144, 18, 504));
    private final Pattern Qy = Pattern.compile(C0017.m52(f40short, 162, 19, 1607));
    private final Pattern oq = Pattern.compile(C0005.m17(f40short, 181, 19, 646));
    private final Pattern F8 = Pattern.compile(C0003.m9(f40short, 200, 33, 3211));

    public Lib() {
        int m19 = C0006.m19();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m19 <= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Long.valueOf(C0004.m14("dLMb9u")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    private static String V0(Pattern pattern, String str) {
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = pattern == null ? 1709 : 1678;
                case 204:
                    return str;
                case 239:
                    try {
                        Matcher matcher = pattern.matcher(str);
                        boolean find = matcher.find();
                        int i2 = 1740;
                        while (true) {
                            i2 ^= 1757;
                            switch (i2) {
                                case 17:
                                    i2 = find ? 1833 : 1802;
                                case 54:
                                case 471:
                                    return str;
                                case 500:
                                    return matcher.group(1).trim();
                            }
                        }
                    } catch (Exception e) {
                        SpiderDebug.log(e);
                        return str;
                    }
                    break;
            }
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:33:0x004e, code lost:
    
        return r6;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public static java.lang.String decodeStr(java.lang.String r6) {
        /*
            r0 = 0
            r3 = 0
            java.lang.String r1 = "ۣۢۥ"
            r2 = r3
            r4 = r3
            r5 = r1
            r1 = r0
        L8:
            int r5 = com.github.catvod.parser.C0006.m20(r5)
            switch(r5) {
                case 56320: goto L16;
                case 1746879: goto L22;
                case 1747717: goto L49;
                case 1747803: goto L1d;
                case 1748615: goto L34;
                case 1749700: goto L3a;
                case 1749701: goto L41;
                case 1750533: goto L4e;
                case 1751590: goto L2f;
                case 1755615: goto L29;
                default: goto Lf;
            }
        Lf:
            java.lang.String r0 = r6.substring(r3, r4)
            java.lang.String r5 = "ۡ۟ۥ"
            goto L8
        L16:
            java.lang.String r6 = r1.toString()
            java.lang.String r5 = "ۣ۟ۡ"
            goto L8
        L1d:
            int r2 = r4 + (-7)
            java.lang.String r5 = "ۤۢۤ"
            goto L8
        L22:
            java.lang.String r0 = r6.substring(r2)
            java.lang.String r5 = "ۨۨ۟"
            goto L8
        L29:
            r1.append(r0)
            java.lang.String r5 = "۠۠"
            goto L8
        L2f:
            int r4 = r2 / 2
            java.lang.String r5 = "ۣۢۦ"
            goto L8
        L34:
            r1.append(r0)
            java.lang.String r5 = "۠ۡۦ"
            goto L8
        L3a:
            int r4 = r6.length()
            java.lang.String r5 = "۠ۤ۟"
            goto L8
        L41:
            java.lang.StringBuilder r1 = new java.lang.StringBuilder
            r1.<init>()
            java.lang.String r5 = "ۣ۟ۦ"
            goto L8
        L49:
            int r2 = r4 + 7
            java.lang.String r5 = "۟ۥۥ"
            goto L8
        L4e:
            return r6
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Lib.decodeStr(java.lang.String):java.lang.String");
    }

    /* JADX WARN: Code restructure failed: missing block: B:21:0x003f, code lost:
    
        return r4;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    protected static java.util.HashMap<java.lang.String, java.lang.String> h() {
        /*
            r1 = 0
            java.lang.String r0 = "ۡۤۨ"
            r2 = r1
            r3 = r1
            r4 = r1
        L6:
            int r0 = com.github.catvod.parser.C0006.m20(r0)
            switch(r0) {
                case 1746783: goto L3f;
                case 1748645: goto L3a;
                case 1748680: goto L20;
                case 1748773: goto L32;
                case 1751710: goto L2d;
                case 1753576: goto L13;
                default: goto Ld;
            }
        Ld:
            r4.put(r2, r1)
            java.lang.String r0 = "۟ۢۢ"
            goto L6
        L13:
            r0 = 233(0xe9, float:3.27E-43)
            r2 = 10
            r5 = 482(0x1e2, float:6.75E-43)
            java.lang.String r2 = com.github.catvod.parser.C0004.m12(r3, r0, r2, r5)
            java.lang.String r0 = "ۡ۠ۤ"
            goto L6
        L20:
            r0 = 243(0xf3, float:3.4E-43)
            r1 = 115(0x73, float:1.61E-43)
            r5 = 1090(0x442, float:1.527E-42)
            java.lang.String r1 = com.github.catvod.parser.C0002.m6(r3, r0, r1, r5)
            java.lang.String r0 = "ۨۦۨ"
            goto L6
        L2d:
            short[] r3 = com.github.catvod.spider.Lib.f40short
            java.lang.String r0 = "ۦۤۦ"
            goto L6
        L32:
            java.util.HashMap r4 = new java.util.HashMap
            r4.<init>()
            java.lang.String r0 = "ۤۦ۠"
            goto L6
        L3a:
            short[] r3 = com.github.catvod.spider.Lib.f40short
            java.lang.String r0 = "ۡۡۨ"
            goto L6
        L3f:
            return r4
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Lib.h():java.util.HashMap");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:4:0x000b. Please report as an issue. */
    public static String htoStr(String str) {
        int i = 0;
        String str2 = "";
        while (true) {
            int length = str.length();
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                    case 49:
                        i2 = i < length ? 1709 : 1678;
                    case 204:
                        int i3 = i + 2;
                        str2 = str2 + ((char) Integer.parseInt(str.substring(i, i3), 16));
                        int i4 = 1740;
                        while (true) {
                            i4 ^= 1757;
                            switch (i4) {
                                case 17:
                                    i4 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                        i = i3;
                        break;
                    case 239:
                        break;
                }
                return str2;
            }
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:4:0x000b. Please report as an issue. */
    public static String strReverse(String str) {
        int length = str.length();
        String str2 = "";
        int i = 0;
        while (true) {
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                    case 49:
                        i2 = i < length ? 1709 : 1678;
                    case 204:
                        str2 = str2 + str.charAt((length - i) - 1);
                        i++;
                        int i3 = 1740;
                        while (true) {
                            i3 ^= 1757;
                            switch (i3) {
                                case 17:
                                    i3 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                        break;
                    case 239:
                        break;
                }
                return str2;
            }
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:219:0x02ba, code lost:
    
        r2 = r3 + 1;
        r3 = 53634;
     */
    /* JADX WARN: Code restructure failed: missing block: B:220:0x02bf, code lost:
    
        r3 = r3 ^ 53651;
     */
    /* JADX WARN: Code restructure failed: missing block: B:221:0x02c3, code lost:
    
        switch(r3) {
            case 17: goto L318;
            case 50: goto L319;
            default: goto L320;
        };
     */
    /* JADX WARN: Code restructure failed: missing block: B:223:0x02c7, code lost:
    
        r3 = 53665;
     */
    /* JADX WARN: Code restructure failed: missing block: B:313:0x02b6, code lost:
    
        r3 = r2;
        r4 = r1;
     */
    /* JADX WARN: Code restructure failed: missing block: B:59:0x0151, code lost:
    
        r3 = r1;
        r4 = r1;
     */
    /* JADX WARN: Failed to find 'out' block for switch in B:141:0x0376. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:280:0x0241. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:34:0x008a. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:77:0x02f7. Please report as an issue. */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.String categoryContent(java.lang.String r19, java.lang.String r20, boolean r21, java.util.HashMap<java.lang.String, java.lang.String> r22) {
        /*
            Method dump skipped, instructions count: 1480
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Lib.categoryContent(java.lang.String, java.lang.String, boolean, java.util.HashMap):java.lang.String");
    }

    /* JADX WARN: Code restructure failed: missing block: B:260:0x0339, code lost:
    
        r4 = r3;
        r3 = true;
     */
    /* JADX WARN: Code restructure failed: missing block: B:56:0x02c4, code lost:
    
        r3 = 1864;
     */
    /* JADX WARN: Code restructure failed: missing block: B:57:0x02c6, code lost:
    
        r3 = r3 ^ 1881;
     */
    /* JADX WARN: Code restructure failed: missing block: B:58:0x02c8, code lost:
    
        switch(r3) {
            case 17: goto L164;
            case 47483: goto L165;
            default: goto L166;
        };
     */
    /* JADX WARN: Code restructure failed: missing block: B:60:0x02cc, code lost:
    
        r3 = 48674;
     */
    /* JADX WARN: Failed to find 'out' block for switch in B:102:0x035c. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:115:0x038e. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:133:0x048f. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:156:0x04bc. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:205:0x03df. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:213:0x0453. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x028f. Please report as an issue. */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.String detailContent(java.util.List<java.lang.String> r23) {
        /*
            Method dump skipped, instructions count: 1610
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Lib.detailContent(java.util.List):java.lang.String");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:200:0x0190. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:213:0x0153. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:29:0x0208. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:73:0x0285. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:7:0x0051. Please report as an issue. */
    public String homeContent(boolean z) {
        Dv Pi;
        JSONArray jSONArray;
        int i;
        String m17 = C0005.m17(f40short, 910, 22, 1631);
        String m3 = C0001.m3(f40short, 932, 1, 774);
        try {
            HZ h = lk.h(fP.oq(m17, j(m17)));
            Dv Pi2 = h.Pi(C0013.m41(f40short, 933, 25, 1745));
            JSONArray jSONArray2 = new JSONArray();
            Iterator<Lm> it = Pi2.iterator();
            while (true) {
                boolean hasNext = it.hasNext();
                String m37 = C0012.m37(f40short, 958, 4, 1201);
                boolean z2 = false;
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = hasNext ? 1709 : 1678;
                        case 204:
                            Lm next = it.next();
                            String e = next.e();
                            boolean equals = e.equals(C0013.m41(f40short, 962, 2, 1558));
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = !equals ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        break;
                                    case 500:
                                        boolean equals2 = e.equals(C0018.m56(f40short, 964, 2, 1165));
                                        int i4 = 1864;
                                        while (true) {
                                            i4 ^= 1881;
                                            switch (i4) {
                                                case 17:
                                                    i4 = !equals2 ? 48736 : 48705;
                                                case 47384:
                                                    break;
                                                case 47417:
                                                    boolean equals3 = e.equals(C0004.m12(f40short, 966, 2, 1692));
                                                    int i5 = 48767;
                                                    while (true) {
                                                        i5 ^= 48784;
                                                        switch (i5) {
                                                            case 14:
                                                            case 45:
                                                                break;
                                                            case 76:
                                                                boolean equals4 = e.equals(C0000.m1(f40short, 968, 3, 2715));
                                                                int i6 = 48891;
                                                                while (true) {
                                                                    i6 ^= 48908;
                                                                    switch (i6) {
                                                                        case 22:
                                                                        case 53:
                                                                            break;
                                                                        case 503:
                                                                            i6 = !equals4 ? 49635 : 48953;
                                                                        case 32495:
                                                                            boolean equals5 = e.equals(C0017.m52(f40short, 971, 3, 1451));
                                                                            int i7 = 49666;
                                                                            while (true) {
                                                                                i7 ^= 49683;
                                                                                switch (i7) {
                                                                                    case 17:
                                                                                        i7 = equals5 ? 49759 : 49728;
                                                                                    case 50:
                                                                                    case 76:
                                                                                        break;
                                                                                    case 83:
                                                                                        break;
                                                                                }
                                                                            }
                                                                            break;
                                                                    }
                                                                }
                                                                break;
                                                            case 239:
                                                                i5 = !equals3 ? 48860 : 48829;
                                                        }
                                                    }
                                                    break;
                                                case 47483:
                                            }
                                        }
                                        break;
                                }
                            }
                            z2 = true;
                            int i8 = 49790;
                            while (true) {
                                i8 ^= 49807;
                                switch (i8) {
                                    case 18:
                                    case 51:
                                        break;
                                    case 84:
                                        Matcher matcher = this.j.matcher(next.j(m37));
                                        boolean find = matcher.find();
                                        int i9 = 49914;
                                        while (true) {
                                            i9 ^= 49931;
                                            switch (i9) {
                                                case 497:
                                                    i9 = !find ? 50658 : 50627;
                                                case 1711:
                                                case 1736:
                                                    String trim = matcher.group(1).trim();
                                                    JSONObject jSONObject = new JSONObject();
                                                    jSONObject.put(C0006.m18(f40short, 974, 7, 932), trim);
                                                    jSONObject.put(C0004.m12(f40short, 981, 9, 2156), e);
                                                    jSONArray2.put(jSONObject);
                                                    int i10 = 50813;
                                                    while (true) {
                                                        i10 ^= 50830;
                                                        switch (i10) {
                                                            case 18:
                                                                break;
                                                            case 243:
                                                                i10 = 50844;
                                                        }
                                                    }
                                                    break;
                                                case 1769:
                                                    int i11 = 50689;
                                                    while (true) {
                                                        i11 ^= 50706;
                                                        switch (i11) {
                                                            case 19:
                                                                i11 = 50720;
                                                            case 50:
                                                                break;
                                                        }
                                                    }
                                                    break;
                                            }
                                        }
                                        break;
                                    case 241:
                                        i8 = z2 ? 49883 : 49852;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                    JSONObject jSONObject2 = new JSONObject();
                    int i12 = 51588;
                    while (true) {
                        i12 ^= 51605;
                        switch (i12) {
                            case 17:
                                if (!z) {
                                    break;
                                } else {
                                    i12 = 51681;
                                }
                            case 54:
                                break;
                            case 87:
                                break;
                            case 116:
                                jSONObject2.put(C0004.m12(f40short, 990, 7, 1137), this.V0);
                                break;
                            default:
                                continue;
                        }
                        i12 = 51650;
                    }
                    jSONObject2.put(C0009.m30(f40short, 997, 5, 2760), jSONArray2);
                    try {
                        Pi = h.Pi(C0009.m30(f40short, 1002, 15, 1787)).get(0).Pi(C0009.m30(f40short, 1017, 21, 1467));
                        jSONArray = new JSONArray();
                        i = 0;
                    } catch (Exception e2) {
                        SpiderDebug.log(e2);
                    }
                    while (true) {
                        int size = Pi.size();
                        int i13 = 51712;
                        while (true) {
                            i13 ^= 51729;
                            switch (i13) {
                                case 14:
                                case 17:
                                    i13 = i < size ? 51805 : 51774;
                                case 47:
                                    break;
                                case 76:
                                    Lm lm = Pi.get(i);
                                    String h2 = lm.Pi(m3).h(C0001.m3(f40short, 1038, 5, 2656));
                                    String h3 = lm.Pi(m3).h(C0005.m17(f40short, 1043, 13, 2419));
                                    String I = lm.Pi(C0011.m35(f40short, 1056, 11, 2855)).I();
                                    Matcher matcher2 = this.q.matcher(lm.Pi(m3).h(m37));
                                    boolean find2 = matcher2.find();
                                    int i14 = 51836;
                                    while (true) {
                                        i14 ^= 51853;
                                        switch (i14) {
                                            case 241:
                                                i14 = !find2 ? 52580 : 52549;
                                            case 1963:
                                            case 1992:
                                                String group = matcher2.group(1);
                                                JSONObject jSONObject3 = new JSONObject();
                                                jSONObject3.put(C0003.m9(f40short, 1067, 6, 2953), group);
                                                jSONObject3.put(C0012.m37(f40short, 1073, 8, 2013), h2);
                                                jSONObject3.put(C0001.m3(f40short, 1081, 7, 977), h3);
                                                jSONObject3.put(C0007.m26(f40short, 1088, 11, 2642), I);
                                                jSONArray.put(jSONObject3);
                                                break;
                                            case 2025:
                                                int i15 = 52611;
                                                while (true) {
                                                    i15 ^= 52628;
                                                    switch (i15) {
                                                        case 23:
                                                            i15 = 52642;
                                                        case 54:
                                                            break;
                                                    }
                                                    break;
                                                }
                                        }
                                    }
                                    int i16 = i + 1;
                                    int i17 = 52735;
                                    while (true) {
                                        i17 ^= 52752;
                                        switch (i17) {
                                            case 14:
                                                break;
                                            case 1007:
                                                i17 = 52766;
                                                break;
                                        }
                                    }
                                    i = i16;
                                    break;
                            }
                            jSONObject2.put(C0011.m35(f40short, 1099, 4, 2794), jSONArray);
                            int i18 = 53510;
                            while (true) {
                                i18 ^= 53527;
                                switch (i18) {
                                    case 17:
                                        i18 = 53541;
                                        break;
                                    case 50:
                                        break;
                                }
                            }
                        }
                        return jSONObject2.toString();
                    }
                }
            }
        } catch (Exception e3) {
            SpiderDebug.log(e3);
            return "";
        }
    }

    public void init(Context context, String str) {
        int i;
        super.init(context, str);
        try {
            Matcher matcher = this.BQ.matcher(fP.oq(new String(Base64.decode(str.substring(1), 0)), j("")));
            boolean find = matcher.find();
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                    case 49:
                        i2 = find ? 1709 : 1678;
                    case 204:
                        this.h = new JSONObject(matcher.group(1));
                        break;
                    case 239:
                        break;
                }
            }
            this.V0 = new JSONObject("{\"1\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"爱情\",\"v\":\"爱情\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"警匪\",\"v\":\"警匪\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"动画\",\"v\":\"动画\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"武侠\",\"v\":\"武侠\"},{\"n\":\"冒险\",\"v\":\"冒险\"},{\"n\":\"枪战\",\"v\":\"枪战\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"经典\",\"v\":\"经典\"},{\"n\":\"青春\",\"v\":\"青春\"},{\"n\":\"文艺\",\"v\":\"文艺\"},{\"n\":\"微电影\",\"v\":\"微电影\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"运动\",\"v\":\"运动\"},{\"n\":\"农村\",\"v\":\"农村\"},{\"n\":\"儿童\",\"v\":\"儿童\"}]},{\"key\":\"1\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"中国大陆\",\"v\":\"中国大陆\"},{\"n\":\"中国香港\",\"v\":\"中国香港\"},{\"n\":\"中国台湾\",\"v\":\"中国台湾\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"法国\",\"v\":\"法国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"德国\",\"v\":\"德国\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"印度\",\"v\":\"印度\"},{\"n\":\"意大利\",\"v\":\"意大利\"},{\"n\":\"西班牙\",\"v\":\"西班牙\"},{\"n\":\"加拿大\",\"v\":\"加拿大\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"4\",\"name\":\"语言\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"英语\",\"v\":\"英语\"},{\"n\":\"韩语\",\"v\":\"韩语\"},{\"n\":\"日语\",\"v\":\"日语\"},{\"n\":\"法语\",\"v\":\"法语\"},{\"n\":\"泰语\",\"v\":\"泰语\"},{\"n\":\"德语\",\"v\":\"德语\"},{\"n\":\"印度语\",\"v\":\"印度语\"},{\"n\":\"国语\",\"v\":\"国语\"},{\"n\":\"粤语\",\"v\":\"粤语\"},{\"n\":\"俄语\",\"v\":\"俄语\"},{\"n\":\"西班牙语\",\"v\":\"西班牙语\"},{\"n\":\"意大利语\",\"v\":\"意大利语\"},{\"n\":\"其它\",\"v\":\"其它\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"2\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"青春偶像\",\"v\":\"青春偶像\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"家庭\",\"v\":\"家庭\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"经典\",\"v\":\"经典\"},{\"n\":\"乡村\",\"v\":\"乡村\"},{\"n\":\"情景\",\"v\":\"情景\"},{\"n\":\"商战\",\"v\":\"商战\"},{\"n\":\"网剧\",\"v\":\"网剧\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"1\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"中国大陆\",\"v\":\"中国大陆\"},{\"n\":\"中国台湾\",\"v\":\"中国台湾\"},{\"n\":\"中国香港\",\"v\":\"中国香港\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"新加坡\",\"v\":\"新加坡\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"4\",\"name\":\"语言\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"英语\",\"v\":\"英语\"},{\"n\":\"韩语\",\"v\":\"韩语\"},{\"n\":\"日语\",\"v\":\"日语\"},{\"n\":\"法语\",\"v\":\"法语\"},{\"n\":\"泰语\",\"v\":\"泰语\"},{\"n\":\"德语\",\"v\":\"德语\"},{\"n\":\"印度语\",\"v\":\"印度语\"},{\"n\":\"国语\",\"v\":\"国语\"},{\"n\":\"粤语\",\"v\":\"粤语\"},{\"n\":\"俄语\",\"v\":\"俄语\"},{\"n\":\"西班牙语\",\"v\":\"西班牙语\"},{\"n\":\"意大利语\",\"v\":\"意大利语\"},{\"n\":\"其它\",\"v\":\"其它\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"4\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"情感\",\"v\":\"情感\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"热血\",\"v\":\"热血\"},{\"n\":\"推理\",\"v\":\"推理\"},{\"n\":\"搞笑\",\"v\":\"搞笑\"},{\"n\":\"冒险\",\"v\":\"冒险\"},{\"n\":\"萝莉\",\"v\":\"萝莉\"},{\"n\":\"校园\",\"v\":\"校园\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"机战\",\"v\":\"机战\"},{\"n\":\"运动\",\"v\":\"运动\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"少年\",\"v\":\"少年\"},{\"n\":\"少女\",\"v\":\"少女\"},{\"n\":\"社会\",\"v\":\"社会\"},{\"n\":\"原创\",\"v\":\"原创\"},{\"n\":\"亲子\",\"v\":\"亲子\"},{\"n\":\"益智\",\"v\":\"益智\"},{\"n\":\"励志\",\"v\":\"励志\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"1\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"中国\",\"v\":\"中国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"欧美\",\"v\":\"欧美\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"15\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"青春偶像\",\"v\":\"青春偶像\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"家庭\",\"v\":\"家庭\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"经典\",\"v\":\"经典\"},{\"n\":\"乡村\",\"v\":\"乡村\"},{\"n\":\"情景\",\"v\":\"情景\"},{\"n\":\"商战\",\"v\":\"商战\"},{\"n\":\"网剧\",\"v\":\"网剧\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"1\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"韩国\",\"v\":\"韩国\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"16\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"青春偶像\",\"v\":\"青春偶像\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"家庭\",\"v\":\"家庭\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"经典\",\"v\":\"经典\"},{\"n\":\"乡村\",\"v\":\"乡村\"},{\"n\":\"情景\",\"v\":\"情景\"},{\"n\":\"商战\",\"v\":\"商战\"},{\"n\":\"网剧\",\"v\":\"网剧\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"1\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"德国\",\"v\":\"德国\"},{\"n\":\"加拿大\",\"v\":\"加拿大\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"4\",\"name\":\"语言\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"国语\",\"v\":\"国语\"},{\"n\":\"日语\",\"v\":\"日语\"},{\"n\":\"英语\",\"v\":\"英语\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}]}");
            i = 1740;
        } catch (JSONException e) {
            SpiderDebug.log(e);
        }
        while (true) {
            i ^= 1757;
            switch (i) {
                case 17:
                    i = 1771;
                    continue;
                case 54:
                    break;
            }
            int m48 = C0016.m48();
            int i3 = 1864;
            while (true) {
                i3 ^= 1881;
                switch (i3) {
                    case 17:
                        i3 = m48 <= 0 ? 48736 : 48705;
                    case 47384:
                        break;
                    case 47417:
                        System.out.println(Double.valueOf(C0012.m36("ManrcLdftSLfLhXjLCUEi")));
                        break;
                    case 47483:
                }
                return;
            }
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:105:0x0136, code lost:
    
        return r3;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    protected java.util.HashMap<java.lang.String, java.lang.String> j(java.lang.String r9) {
        /*
            Method dump skipped, instructions count: 450
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Lib.j(java.lang.String):java.util.HashMap");
    }

    /* JADX WARN: Code restructure failed: missing block: B:88:0x023e, code lost:
    
        r7 = r3;
     */
    /* JADX WARN: Failed to find 'out' block for switch in B:105:0x029c. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:209:0x045c. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:217:0x046d. Please report as an issue. */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.String playerContent(java.lang.String r26, java.lang.String r27, java.util.List<java.lang.String> r28) {
        /*
            Method dump skipped, instructions count: 1434
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Lib.playerContent(java.lang.String, java.lang.String, java.util.List):java.lang.String");
    }

    /* JADX WARN: Code restructure failed: missing block: B:105:0x0133, code lost:
    
        return r3;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    protected java.util.HashMap<java.lang.String, java.lang.String> q(java.lang.String r9) {
        /*
            Method dump skipped, instructions count: 446
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Lib.q(java.lang.String):java.util.HashMap");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:21:0x0089. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x006a. Please report as an issue. */
    public String searchContent(String str, boolean z) {
        try {
            String str2 = C0003.m9(f40short, 2453, 55, 554) + URLEncoder.encode(str) + C0013.m41(f40short, 2508, 20, 581) + System.currentTimeMillis();
            JSONObject jSONObject = new JSONObject(fP.oq(str2, j(str2)));
            JSONObject jSONObject2 = new JSONObject();
            JSONArray jSONArray = new JSONArray();
            int i = jSONObject.getInt(C0003.m9(f40short, 2528, 5, 1171));
            String m12 = C0004.m12(f40short, 2533, 4, 2131);
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                    case 49:
                        i2 = i > 0 ? 1709 : 1678;
                    case 204:
                        JSONArray jSONArray2 = new JSONArray(jSONObject.getString(m12));
                        int i3 = 0;
                        while (true) {
                            int length = jSONArray2.length();
                            int i4 = 1740;
                            while (true) {
                                i4 ^= 1757;
                                switch (i4) {
                                    case 17:
                                        i4 = i3 < length ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        break;
                                    case 500:
                                        JSONObject jSONObject3 = jSONArray2.getJSONObject(i3);
                                        String string = jSONObject3.getString(C0014.m43(f40short, 2537, 2, 2806));
                                        String string2 = jSONObject3.getString(C0017.m52(f40short, 2539, 4, 736));
                                        String string3 = jSONObject3.getString(C0005.m17(f40short, 2543, 3, 893));
                                        boolean isEmpty = TextUtils.isEmpty(string3);
                                        int i5 = 1864;
                                        while (true) {
                                            i5 ^= 1881;
                                            switch (i5) {
                                                case 17:
                                                    i5 = !isEmpty ? 48736 : 48705;
                                                case 47384:
                                                    break;
                                                case 47417:
                                                    boolean startsWith = string3.startsWith(C0004.m12(f40short, 2546, 4, 1108));
                                                    int i6 = 48767;
                                                    while (true) {
                                                        i6 ^= 48784;
                                                        switch (i6) {
                                                            case 14:
                                                            case 45:
                                                                break;
                                                            case 76:
                                                                string3 = C0001.m3(f40short, 2550, 22, 2397) + string3;
                                                                break;
                                                            case 239:
                                                                i6 = !startsWith ? 48860 : 48829;
                                                        }
                                                    }
                                                    break;
                                                case 47483:
                                            }
                                        }
                                        JSONObject jSONObject4 = new JSONObject();
                                        jSONObject4.put(C0006.m18(f40short, 2572, 6, 893), string);
                                        jSONObject4.put(C0007.m26(f40short, 2578, 8, 794), string2);
                                        jSONObject4.put(C0005.m17(f40short, 2586, 7, 1471), string3);
                                        jSONObject4.put(C0015.m47(f40short, 2593, 11, 2821), "");
                                        jSONArray.put(jSONObject4);
                                        int i7 = i3 + 1;
                                        int i8 = 48891;
                                        while (true) {
                                            i8 ^= 48908;
                                            switch (i8) {
                                                case 22:
                                                    break;
                                                case 503:
                                                    i8 = 48922;
                                                    break;
                                            }
                                        }
                                        i3 = i7;
                                        break;
                                }
                                break;
                            }
                        }
                        break;
                    case 239:
                        break;
                }
            }
            jSONObject2.put(m12, jSONArray);
            return jSONObject2.toString();
        } catch (Exception e) {
            SpiderDebug.log(e);
            return "";
        }
    }
}
